<?php

/**
 * Implementation of hook_imagecache_default_presets().
 */
function front_slides_imagecache_default_presets() {
  $items = array(
    'front_slides' => array(
      'presetname' => 'front_slides',
      'actions' => array(
        '0' => array(
          'weight' => '0',
          'module' => 'imagecache',
          'action' => 'imagecache_resize',
          'data' => array(
            'width' => '710',
            'height' => '360',
          ),
        ),
      ),
    ),
  );
  return $items;
}

/**
 * Implementation of hook_node_info().
 */
function front_slides_node_info() {
  $items = array(
    'front_slides' => array(
      'name' => t('首页广告'),
      'module' => 'features',
      'description' => t('首页的轮动广告管理'),
      'has_title' => '1',
      'title_label' => t('首页广告组'),
      'has_body' => '0',
      'body_label' => '',
      'min_word_count' => '0',
      'help' => '',
    ),
  );
  return $items;
}
